package org.cxmzxy.zhlxyj;

public class Example01 {
    public static void main(String[] args) throws InterruptedException{
        MyThread01 thread01 = new MyThread01();
        MyThread01 thread02 = new MyThread01();
        thread02.setName("thread02");
        thread01.start();
        thread02.start();
        while (true){
            System.out.println("main()方法在运行");
            Thread.sleep(1000);
        }
    }
}
